package io.geekidea.boot.inventorychange.query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.geekidea.boot.framework.page.BasePageQuery;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class StoreChangeQuery extends BasePageQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    /*
     * 关联战区表id
     * */
    @TableField("areaId")
    private String areaId;

    /*
     * 关联门店表id
     * */
    @TableField("storeId")
    private String storeId;


    private String materialcode;

    private String materialsnmark;

    private String typeofchange;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private String lastTime;


    @TableField("areaname_fk")
    private Integer areanameFk;

    @TableField("storename_fk")
    private Integer storenameFk;

    private String storeName;
}
